ServerBootstrap

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(EventLoop loop)
Undocumented in source.

Members

Functions

bind
void bind(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind(ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind(string ip, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
childPipeline
auto childPipeline(PipelineFactory!PipeLine factory)
Undocumented in source. Be warned that the author may not have intended to support it.
creatorAcceptor
auto creatorAcceptor(EventLoop loop)
Undocumented in source. Be warned that the author may not have intended to support it.
getTimeWheelConfig
bool getTimeWheelConfig(uint whileSize, uint time)
Undocumented in source. Be warned that the author may not have intended to support it.
group
auto group(EventLoopGroup group)
Undocumented in source. Be warned that the author may not have intended to support it.
group
EventLoopGroup group()
Undocumented in source. Be warned that the author may not have intended to support it.
heartbeatTimeOut
auto heartbeatTimeOut(uint second)

The Value will be 0 or 5s ~ 1800s. 0 is disable, if(value < 5) value = 5; if(value > 3000) value = 1800;

join
void join()
Undocumented in source. Be warned that the author may not have intended to support it.
pipeline
auto pipeline(AcceptPipelineFactory factory)
Undocumented in source. Be warned that the author may not have intended to support it.
setReusePort
auto setReusePort(bool ruse)
Undocumented in source. Be warned that the author may not have intended to support it.
setSSLConfig
auto setSSLConfig(ServerSSLConfig config)
Undocumented in source. Be warned that the author may not have intended to support it.
startListening
void startListening()
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
stopListening
void stopListening()
Undocumented in source. Be warned that the author may not have intended to support it.
waitForStop
void waitForStop()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

address
Address address [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
eventLoop
EventLoop eventLoop [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta